#!/usr/bin/env python3
# Created by han on 2016/6/5
import sys,os
# if platform.system() == 'Windows':BASE_DIR = '\\'.join(os.path.dirname(__file__).split('/')[:-1])
# else:
#     BASE_DIR = '/'.join(os.path.dirname(__file__).split('/')[:-1])
# sys.path.append(BASE_DIR)
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

from module import bank_main


def bank_start():
    a = sys.argv
    if len(a) == 2:
        if a[1] == "start":
            bank_main.bank_run()
        else:
            print("您是否要输入 start")
    else:
        print("启动方式 python3 bank.py start")


if __name__ == '__main__':
    bank_start()
